package com.home.properties;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "redis")
@Data
public class RedisConfig {
    private String host;
    private int port;
    private String password;
    private int maxIdle;
    private int minIdle;
    private int maxTotal;
    private int maxWaitMillis;
    private int timeout;

}